<?php echo $this->render('/layout/header.phtml');?>
<link href="/public/css/productclass_dolphin.css" rel="stylesheet" type="text/css" />
<link href="/public/css/productlist.css" rel="stylesheet" type="text/css" />
<link href="/public/css/pagelist.css" rel="stylesheet" type="text/css" />
<link href="/public/css/guestbookform.css" rel="stylesheet" type="text/css" />
<link href="/public/css/guestbookquery.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/public/js/message.js"></script>
</head>
<body style="background:transparent">
<div id="contain" style="width:990px;background:rgb(255,255,255);margin:0px auto;padding:0px">
<?php echo $this->render('/layout/top.phtml');?>
<div id="content" style="width: 990px; height: 548px; background-image: none; background-attachment: scroll; background-color: transparent; margin: 0px auto; background-position: 0% 0%; background-repeat: repeat repeat;">


<!-- 空白边框 -->

<div id="pdv_12657" class="pdv_class" title="" style="width:209px;height:543px;top:5px;left:1px; z-index:1">
<div id="spdv_12657" class="pdv_content" style="overflow:hidden;width:100%;height:100%">
<div class="pdv_border" style="border: 0px; height: 543px; padding: 0px; margin: 0px; background-color: rgb(245, 245, 245); background-position: initial initial; background-repeat: no-repeat repeat;">
<div style="height:100%;background:url(../../base/border/620/images/bg.gif) right repeat-y;">
<div style="height:43px;border:0px;padding:0;margin:0;background:url(/public/images/top620.gif) 0px 0px no-repeat;">
<div style="float:left;width:100px;height:32px;font:12px/34px Arial, Helvetica, sans-serif;color:#fff;margin-left:30px;padding-top:5px;letter-spacing:2px;">
	</div>
	<div style="float:right;width:60px;height:0px;background:url(/public/images/top620.gif) -149px 0px no-repeat;">
	</div>
</div>
<div style="margin:0px;padding:0px;">
&nbsp;
</div>
</div>
</div>
<div style="margin-top:-20px;height:20px;line-height:7px;background:url(/public/images/top620.gif) 0px -360px no-repeat">&nbsp;</div>
<div style="float:right;margin-top:-20px;width:15px;height:20px;line-height:7px;background:url(/public/images/top620.gif) -194px -360px no-repeat">&nbsp;</div>

</div>
</div>

<!-- HTML编辑区 -->

<div id="pdv_12666" class="pdv_class" title="" style="width:193px;height:230px;top:312px;left:8px; z-index:7">
<div id="spdv_12666" class="pdv_content" style="overflow:hidden;width:100%;height:100%">
<div class="pdv_border" style="border: 0px; height: 230px; padding: 0px; margin: 0px; background-image: url(/public/images/bg619.gif); background-color: rgb(245, 245, 245); background-position: initial initial; background-repeat: no-repeat repeat;">
<div style="height:100%;background:url(/public/images/bg619.gif) right repeat-y;">
<div style="height:43px;border:0px;padding:0;margin:0;background:url(/public/images/top619.gif) 0px 0px no-repeat;">
<div style="float:left;width:100px;height:32px;font:12px/34px Arial, Helvetica, sans-serif;color:#fff;margin-left:30px;padding-top:5px;letter-spacing:2px;">
	</div>
	<div style="float:right;width:60px;height:0px;background:url(/public/images/top619.gif) -840px 0px no-repeat;">
	</div>
</div>
<div style="margin:0px;padding:0px;">
<div style="FONT-SIZE: 12px; COLOR: #666666; LINE-HEIGHT: 23px; FONT-FAMILY: 宋体"><br>&nbsp;&nbsp; 地&nbsp; 址：杭州市莫干山路<br>&nbsp;&nbsp; 电&nbsp; 话：0571-98765432<br>&nbsp;&nbsp; 传&nbsp; 真：0571-12345678<br>&nbsp;&nbsp; 联系人：李经理<br>&nbsp;&nbsp; 手&nbsp; 机：18888999988<br>&nbsp;&nbsp; 邮&nbsp; 箱：oywl@yahoo.cn<br>&nbsp;&nbsp; 邮&nbsp; 编：300009<br><br></div>
</div>
</div>
</div>
<div style="margin-top:-7px;height:7px;line-height:7px;background:url(/public/images/top619.gif) 0px -548px no-repeat">&nbsp;</div>
<div style="float:right;margin-top:-7px;width:15px;height:7px;line-height:7px;background:url(/public/images/top619.gif) -885px -548px no-repeat">&nbsp;</div>

</div>
</div>

<!-- 网页标题(列表) -->

<div id="pdv_12667" class="pdv_class" title="" style="width:193px;height:291px;top:17px;left:8px; z-index:8">
<div id="spdv_12667" class="pdv_content" style="overflow:hidden;width:100%;height:100%">
<div class="pdv_border" style="border: 0px; height: 291px; padding: 0px; margin: 0px; background-color: rgb(245, 245, 245); background-position: initial initial; background-repeat: no-repeat repeat;">
<div style="height:100%;">
<div style="height:53px;border:0px;padding:0;margin:0;background:url(/public/images/top624.gif) 0px 0px no-repeat;">
<div style="float:left;width:100px;height:32px;font:12px/34px Arial, Helvetica, sans-serif;color:#fff;margin-left:30px;padding-top:5px;letter-spacing:2px;">
	</div>
	<div style="float:right;width:60px;height:0px;background:url(/public/images/top624.gif) -840px 0px no-repeat;">
	</div>
</div>
<div style="margin:0px;padding:0px;">

<ul class="pagelist">
<?php foreach ($this->articles as $article) {?>
<li class="pagelist"><a href="/company/index/articleid/<?php echo $article['id'];?>" class="pagelist"><?php echo $article['title'];?></a></li>
<?php }?>
</ul>

</div>
</div>
</div>
<div style="margin-top:-7px;height:7px;line-height:7px;background:url(/public/images/top624.gif) 0px -548px no-repeat">&nbsp;</div>
<div style="float:right;margin-top:-7px;width:15px;height:7px;line-height:7px;background:url(/public/images/top624.gif) -885px -548px no-repeat">&nbsp;</div>

</div>
</div>

<!-- 留言翻页检索 -->
<div id="pdv_12908" class="pdv_class" title="留言检索" style="width: 768px; height: 366px; top: 10px; left: 222px; z-index: 11;">
<div id="spdv_12908" class="pdv_content" style="overflow:visible;width:100%;">
<div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
<div style="height:100%;">
<div style="height:45px;border:0px;padding:0;margin:0;background:url(/public/images/top623.gif) 0px 0px no-repeat;">
<div style="float:left;width:100px;height:32px;font:bold 14px/45px Arial, Helvetica, sans-serif;color:#000;margin-left:30px;padding-top:5px;letter-spacing:2px;">留言检索
	</div>
	<div style="float:right;width:60px;height:0px;background:url(/public/images/top623.gif) -840px 0px no-repeat;">
	</div>
</div>
<div style="margin:0px;padding:20px;">

<?php foreach ($this->list as $value) {?>
<div id="guestbookquery">

	<div class="cap">
		<div class="au"><strong><font class="auz">作者信息</font></strong></div>
		<div class="gb"><strong><font class="gbz">留言信息</font></strong></div>
	</div>

 

	<div class="guestbook">
	
		<div class="auinfo">
			<div class="aupic"><img src="<?php echo $value['head'];?>" border="0"></div>
			<div class="auname"><?php echo $value['username'];?></div>
<!-- 			<div class="lynum">第3条留言</div> -->
		</div>
			
		<div class="gbinfo">
			<div class="ttinfo">
				<div class="title">标题：<?php echo $value['title'];?></div>
				<div class="fjinfo">
				    <img src="/public/images/homepage.gif" border="0"><a href="<?php echo $value['homepage'];?>">主页</a>&nbsp;&nbsp;
				    <img src="/public/images/email.gif" border="0"><a href="mailto:<?php echo $value['email'];?>">信箱</a>&nbsp;&nbsp;
				    <img src="/public/images/qq.gif" border="0"><a href="http://wpa.qq.com/msgrd?V=1&Uin=<?php echo $value['qq'];?>&Site=www.hztjkj.cn&Menu=yes">QQ</a>
				</div>
			</div>
			<div class="lyinfo">
				<div class="mood">
<!-- 				    <img src="../guestbook/templates/images/mood/s1.gif" border="0"> -->
				</div>
				<div class="bdinfo2"><?php echo $value['content'];?></div>
			</div>
			<div class="hfinfo">
				<div class="hf" style="display:block;">版主回复：</div>
				<div class="hfanswer" style="display:block;"><?php echo $value['reply'];?></div>
			</div>
			<div class="btinfo">
				<img src="/public/images/posttime.gif" border="0" /><?php echo $value['mtime'];?>
<!-- 				<img src="/public/images/ip.gif" border="0">&nbsp;&nbsp;127.0.0.1 -->
			</div>
		</div>
		
	</div>
</div>
<?php }?>
<div id="showpages">
	  <div id="pagesinfo">共<?php echo $this->total;?>条 每页<?php echo $this->rowCount;?>条 页次：<?php echo $this->page;?>/<?php echo $this->total;?></div>
	  <div id="pages">
	      <ul>
	          <li class="pbutton"><a href="/message/index/page/1">首页</a></li>
	          <li class="pbutton"><a href="/message/index/page/<?php echo $this->page - 1;?>">上一页</a></li>
	          <li class="pagesnow"><?php echo $this->page;?></li>
	          <li class="pbutton"><a href="/message/index/page/<?php echo $this->page + 1;?>">下一页</a></li>
	          <li class="opt">
	              <select onchange="window.location=this.options[this.selectedIndex].value">
	                  <?php for ($i = 0; $i < $this->total; $i++) {?>
	                  <?php
	                  if ($i + 1 == $this->page) {
	                      $selected = 'selected="selected"';
                      } else {
                      	$selected = '';
                      }
	                  ?>
	                  <option value="/message/index/page/<?php echo $i + 1;?>" <?php echo $selected;?>>第<?php echo $i + 1;?>页</option>
	                  <?php }?>
	              </select>
	          </li>
	          <li class="pbutton"><a href="/message/index/page/<?php echo $this->total;?>">尾页</a></li>
	     </ul>
	  </div>
</div>


</div>
</div>
</div>
<div style="margin-top:-7px;height:7px;line-height:7px;background:url(/public/images/top623.gif) 0px -548px no-repeat">&nbsp;</div>
<div style="float:right;margin-top:-7px;width:15px;height:7px;line-height:7px;background:url(/public/images/top623.gif) -885px -548px no-repeat">&nbsp;</div>

</div>
</div>
<!-- 留言发布表单 -->
<div id="pdv_12909" class="pdv_class" title="" style="width: 768px; height: 436px; top: 386px; left: 222px; z-index: 12;">
<div id="spdv_12909" class="pdv_content" style="overflow:hidden;width:100%;height:100%">
<div class="pdv_border" style="margin: 0px; padding: 0px; height: 436px; border: 0px solid;">
	<div style="height:25px;margin:1px;display:none;background:;">
		<div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">
		
		</div>
		<div style="float:right;margin-right:10px;display:none">
		<a href="-1" style="line-height:25px;color:">更多</a>
		</div>
	</div>
<div style="padding:20px">

<div id="notice"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:0px #d2d2d2 solid;">
	<tbody><tr> 
		<td width="123" height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">咨询标题：</td>
      	<td colspan="2" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;"> 
        	<input id="msgTitle" type="text" name="title" value="" class="input" maxlength="20" style="width:300px;">&nbsp;<font style="color:#ff0000;">*</font>&nbsp;&nbsp;不得超过 20 个字符
        </td>
        <td width="130" rowspan="4" id="headpic" style="border-bottom:0px #d2d2d2 solid; border-left:0px #d2d2d2 solid; text-align:center;"><div id="headpic2"></div><img id="headImg" src="/public/images/headpics/m01.gif" border="0"></td>
	</tr>
	
	<tr>
      <td height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">您的名字：</td>
	  <td style="border-bottom:0px #d2d2d2 solid; padding-left:5px;"><input type="text" id="msgName" name="name" value="" class="inputguestbook" maxlength="15">&nbsp;<font style="color:#ff0000;">*</font> </td>
      <td width="160" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;">
	  	选择头像：
		<select name="headpicsel" id="headpicsel">
			<option value="/public/images/headpics/m01.gif" selected="selected">选择头像</option>
			<option value="/public/images/headpics/m01.gif">男孩1</option>
			<option value="/public/images/headpics/m02.gif">男孩2</option>
			<option value="/public/images/headpics/m03.gif">男孩3</option>
			<option value="/public/images/headpics/m04.gif">男孩4</option>
			<option value="/public/images/headpics/m05.gif">男孩5</option>
			<option value="/public/images/headpics/m06.gif">男孩6</option>
			<option value="/public/images/headpics/m07.gif">男孩7</option>
			<option value="/public/images/headpics/m08.gif">男孩8</option>
			<option value="/public/images/headpics/m09.gif">男孩9</option>
			<option value="/public/images/headpics/m10.gif">男孩10</option>
			<option value="/public/images/headpics/m11.gif">男孩11</option>
			<option value="/public/images/headpics/m12.gif">男孩12</option>
			<option value="/public/images/headpics/w01.gif">女孩1</option>
			<option value="/public/images/headpics/w02.gif">女孩2</option>
			<option value="/public/images/headpics/w03.gif">女孩3</option>
			<option value="/public/images/headpics/w04.gif">女孩4</option>
			<option value="/public/images/headpics/w05.gif">女孩5</option>
			<option value="/public/images/headpics/w06.gif">女孩6</option>
			<option value="/public/images/headpics/w07.gif">女孩7</option>
			<option value="/public/images/headpics/w08.gif">女孩8</option>
			<option value="/public/images/headpics/w09.gif">女孩9</option>
			<option value="/public/images/headpics/w10.gif">女孩10</option>
			<option value="/public/images/headpics/w11.gif">女孩11</option>
			<option value="/public/images/headpics/w12.gif">女孩12</option>
	  </select></td>
	</tr>
	
	<tr>
      <td height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">电子邮件：</td>
	  <td colspan="2" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;"><input id="msgEmail" type="text" name="email" value="" class="input"></td>
    </tr>
	
	<tr>
      <td height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">QQ 号码：</td>
	  <td colspan="2" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;"><input id="msgQQ" type="text" name="qq" value="" class="input"></td>
    </tr>
	
	<tr>
      <td height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">主页地址：</td>
	  <td colspan="3" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;"><input id="msgHomepage" type="text" name="homepage" value="http://" class="input"></td>
    </tr>

    <tr>
      <td height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">留言内容：</td>
      <td colspan="3" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;">
	  	<div id="remLen" style="float:right; padding-top:10px; padding-right:30px;"></div>
		<textarea id="msgContent" class="textarea" name="body" style="width:600px; height:60px;"></textarea>&nbsp;<font color="#FF0000">*</font>
	  </td>
    </tr>
    <tr>
      <td height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">其他功能：</td>
      <td colspan="3" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;"><input id="msgIsshow" type="checkbox" name="secret">悄悄话</td>
    </tr>

<!-- 
    <tr>
      <td width="123" height="30" align="right" style="border-right:0px #d2d2d2 solid; border-bottom:0px #d2d2d2 solid;">验 证 码：</td>
      <td colspan="3" style="border-bottom:0px #d2d2d2 solid; padding-left:5px;">
	  	<div style="white-space:nowrap; float:left; margin-top:3px;">
			<input type="text" name="ImgCode" style="width:50px" class="input">
		</div>
		<div style="cursor:pointer;white-space:nowrap; padding-left:3px; float:left; margin-top:4px;">
			<img id="codeimg" src="../codeimg.php?398413" width="60" height="20" style="border:1px #dddddd solid">
		</div>
		<div id="getImgCode" style="cursor:pointer;margin-left:10px;line-height:30px">看不清？更换一张</div>	</td>
    </tr>
 -->
	<tr> 
      <td width="123" align="right"></td>
      <td colspan="3">	  </td>
    </tr>
    <tr> 
      <td width="123" align="right" style="border-right:0px #d2d2d2 solid;">&nbsp;</td>
      <td height="30" colspan="3" style="padding-left:5px;">
        <input id="msgSubmit" type="button" name="Submit" value="提交" class="submit">
      </td>
    </tr>
  </tbody></table>

</div>
</div>

</div>
</div>
</div>
<?php echo $this->render('/layout/bottom.phtml');?>
</div>
<?php echo $this->render('/layout/footer.phtml');?>